<?php

namespace App\Http\Requests\Api;

class ShieldSearchRequest extends ApiRequest
{
    public function rules()
    {
        return [
            'kw' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'kw.required' => '搜索关键字不能为空，否则查询不到任何记录'
        ];
    }
}
